package com.h3c.nem.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Table;
import java.util.Date;

/**
 * Copyright (C), 2020-2020, h3c
 * FileName: TbWorkerPromise
 *
 * @Author: l22886
 * @Date: 2022-01-19
 * Description: tb_worker_promise 实体
 * Version: 1.0
 */
@ApiModel(value="TbWorkerPromise对象", description="")
@Table(name = "tb_worker_promise")
public class TbWorkerPromise {


    @ApiModelProperty(value = "记录ID")
    @TableId
    @Column(name = "record_id")
    private String recordId;

    @ApiModelProperty(value = "员工工号")
    @Column(name = "worker_id")
    private String workerId;

    @ApiModelProperty(value = "流程ID")
    @Column(name = "flow_id")
    private String flowId;

    @ApiModelProperty(value = "承诺类别：1 业务目标承诺；2 个人发展承诺；")
    @Column(name = "promise_type")
    private Integer promiseType;

    @ApiModelProperty(value = "承诺要素")
    @Column(name = "promise_point")
    private String promisePoint;

    @ApiModelProperty(value = "目标")
    @Column(name = "promise_target")
    private String promiseTarget;

    @ApiModelProperty(value = "关键措施")
    @Column(name = "promise_key_actions")
    private String promiseKeyActions;

    @ApiModelProperty(value = "完成时间")
    @Column(name = "finish_date")
    private String finishDate;

    @ApiModelProperty(value = "比重")
    @Column(name = "weight")
    private Integer weight;

    @ApiModelProperty(value = "完成情况（预留）")
    @Column(name = "finish_reply")
    private String finishReply;

    @ApiModelProperty(value = "得分（预留）")
    @Column(name = "score")
    private String score;

    @ApiModelProperty(value = "发展建议（预留）")
    @Column(name = "suggest")
    private String suggest;

    @ApiModelProperty(value = "操作时间")
    @Column(name = "operate_time")
    private Date operateTime;

    @ApiModelProperty(value = "承诺排序")
    @Column(name = "promise_order")
    private Integer promiseOrder;

    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId;
    }

    public String getWorkerId() {
        return workerId;
    }

    public void setWorkerId(String workerId) {
        this.workerId = workerId;
    }

    public String getFlowId() {
        return flowId;
    }

    public void setFlowId(String flowId) {
        this.flowId = flowId;
    }

    public Integer getPromiseType() {
        return promiseType;
    }

    public void setPromiseType(Integer promiseType) {
        this.promiseType = promiseType;
    }

    public String getPromisePoint() {
        return promisePoint;
    }

    public void setPromisePoint(String promisePoint) {
        this.promisePoint = promisePoint;
    }

    public String getPromiseTarget() {
        return promiseTarget;
    }

    public void setPromiseTarget(String promiseTarget) {
        this.promiseTarget = promiseTarget;
    }

    public String getPromiseKeyActions() {
        return promiseKeyActions;
    }

    public void setPromiseKeyActions(String promiseKeyActions) {
        this.promiseKeyActions = promiseKeyActions;
    }

    public String getFinishDate() {
        return finishDate;
    }

    public void setFinishDate(String finishDate) {
        this.finishDate = finishDate;
    }

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }

    public String getFinishReply() {
        return finishReply;
    }

    public void setFinishReply(String finishReply) {
        this.finishReply = finishReply;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public String getSuggest() {
        return suggest;
    }

    public void setSuggest(String suggest) {
        this.suggest = suggest;
    }

    public Date getOperateTime() {
        return operateTime;
    }
    public void setOperateTime(Date operateTime) {
        this.operateTime = operateTime;
    }

    public Integer getPromiseOrder() {return promiseOrder;}
    public void setPromiseOrder(Integer promiseOrder) {this.promiseOrder = promiseOrder;}

    @Override
    public String toString() {
        return "TbWorkerPromise{" +
                "recordId=" + recordId +
                ", workerId=" + workerId +
                ", flowId=" + flowId +
                ", promiseType=" + promiseType +
                ", promisePoint=" + promisePoint +
                ", promiseTarget=" + promiseTarget +
                ", promiseKeyActions=" + promiseKeyActions +
                ", finishDate=" + finishDate +
                ", weight=" + weight +
                ", finishReply=" + finishReply +
                ", score=" + score +
                ", suggest=" + suggest +
                ", operateTime=" + operateTime +
                ", promiseOrder=" + promiseOrder +
                "}";
    }
}
